package com.gxy.learn.backup.entity.second;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author gxy
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class ConsumptionIndexReceivingDateSecond {
    private Long tenantId;
    private Date receivingUnitDate;
    private Long id;
    private Long orgId;
    private Long lineId;
    private Long busId;
    private Long terminalId;
    private Long consumptionTypeNo;
    private String payType;
    private String tradeState;
    private BigDecimal income;
    private Date terminalTime;
    private String payAccount;

    public ConsumptionIndexReceivingDateSecond(String payAccount, Date terminalTime, BigDecimal income, Long consumptionTypeNo) {
        this.payAccount = payAccount;
        this.terminalTime = terminalTime;
        this.income = income;
        this.consumptionTypeNo = consumptionTypeNo;
    }
}
